#include<stdio.h>
int main(){
	int x;
	int n=0;
	scanf("%d",&x);
	//n++;
	//x=x/10;
	do{
		n++;
		x=x/10;
	}while(x>0);
	 printf("%d",n); 
	
	
	
	return 0;
}
